package flst.ipiweb.process;

import java.util.List;

import flst.ipiweb.persistance.FactoryDAL;
import flst.ipiweb.transverse.IPIWebException;
import flst.ipiweb.transverse.ModeDePaiement;

public class ModeDePaiementProcess {

	public List<ModeDePaiement> getAllModeDePaiement() throws IPIWebException{
		return FactoryDAL.getInstance().getModeDePaiementDAL().getAllModeDePaiement();
	}
	
	public void UpdateModeDePaiement(ModeDePaiement mdpe) throws IPIWebException{
		FactoryDAL.getInstance().getModeDePaiementDAL().UpdateModeDePaiement(mdpe);
	}
	
	public ModeDePaiement getModeDePaiementById(int id) throws IPIWebException{
		return FactoryDAL.getInstance().getModeDePaiementDAL().getModeDePaiementById(id);
	}
}
